<#include "assets.ftl"/>
<#include "header.ftl"/>
<#include "elements.ftl"/>

<#macro page title="大街网_预见新自己！" static={} headTitle=title nocache=true assets=[] appbox="none" useheader="default" usefooter="default" prev="default" home="default" currentChannel="NONE" bodyclass="none" menu="0" description="大街网-中国领先的商务社交网络平台，为你轻松打造职场形象、拓展职业人脉、挖掘商业机会、参加行业交流、获得更好工作机会！找工作，找实习，大学生就业 商务社交" keywords="大街网,大街校园招聘,大街招聘网,校园招聘,找工作,找实习,，实习，全职，就业 商务社交" flash=[] crossdomains=[] footerassets=[]>

<#if nocache && response??>
${response.setHeader("Pragma","no-cache")}
${response.setHeader("Cache-Control","no-cache,no-transform")}
${response.setDateHeader("Expires", 0)}
<#elseif response??>
${response.setHeader("Cache-Control","no-transform")}
</#if>

<!DOCTYPE html>
<html class="${uaOS!''} ${uaBrowser!''}">
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="telephone=no" name="format-detection" />
    <#if request?? && request.getRequestURL()??>
        <meta http-equiv="mobile-agent" content="format=xhtml; url=${request.getRequestURL()}" />
        <meta http-equiv="Cache-Control" content="no-transform" />
    </#if>
    <title>
        <#assign aTitle = headTitle?replace('职业人脉从大街开始！','预见新自己！','ir')/>${aTitle}
    </title>
    <link rel="shortcut icon" href="<@url>/images/favicon.ico</@url>" />
    <meta content="${description}" name="description"/>
    <meta content="${keywords}" name="keywords"/>
    <#if appbox != "none">
        <@AssetsImport assets + ["/up/dj-mobile/js/app.js"] />
    <#else>
        <@AssetsImport assets />
    </#if>
    <@jselement file='/js/pv.js' />
    <link media="screen and (min-width:600px)" rel="stylesheet" href="<@url>${WrapperAssetsWithVersion('/up/dj-mobile/css/frame-pad.css')}</@url>">
<#if static?? && static?size gt 0>
        <@jselement file="/static/libs/seajs/sea.js"/>
        <script id="djnew" type="text/javascript" src="${AssetsUrl("${WrapperAssetsWithVersion('/static/libs/street/street.js')}")}"></script>
        <script type="text/javascript">
            var seaConfig = {
            'base':'<#if static.base?? && static.base?length gt 0>${static.base}<#else>http://${configs['domains.static']!"static.dajieimg.com"}</#if>'
                <#if static.alias?? && static.alias?size gt 0 && static.alias?is_hash_ex>
                    , 'alias':{
                    <#list static.alias?keys as key>
                        <#assign staticValue= static.alias[key]/>
                        <#if staticValue?ends_with('.css')>
                            <#assign staticValuePrefix=staticValue?substring(0,staticValue?last_index_of(".css"))/>
                        <#elseif staticValue?ends_with('.js')>
                            <#assign staticValuePrefix=staticValue?substring(0,staticValue?last_index_of(".js"))/>
                        <#else>
                            <#assign staticValuePrefix=staticValue/>
                        </#if>
                        <#assign assetsPath='/static/' + staticValue/>
                        <#if assetsDataMap[assetsPath]?? && shouldMergeAssets>
                            '${key}':'${staticValuePrefix}.${assetsDataMap[assetsPath]}.<#if staticValue?ends_with('.css')>css<#else>js</#if>'<#if key_has_next>,</#if>
                        <#else>
                            '${key}':'${staticValue}'<#if key_has_next>,</#if>
                        </#if>
                    </#list>
                }
                </#if>
                <#if static.preload?? && static.preload?size gt 0 && static.preload?is_sequence>
                    , 'preload':[<#list static.preload as item>"${item}"<#if item_has_next>,</#if></#list>]
                </#if>
            };
            seajs.config(seaConfig);
            street.sea.insertStyle(seaConfig);
        </script>
    </#if>
</head>
<body <#if bodyclass != "none">class="${bodyclass}"</#if>>
    <div id="J_djResourcesVersion" >
        <input type="hidden" name="env" value="${configs['deploy.env']!''}"/>
        <input type="hidden" name="bigVersion" value="${configs['assets.major.version']!''}"/>
        <#if assetsMap??>
            <input type="hidden" name="rollbackId" value="${assetsMap['//rollbackId']!''}"/>
        </#if>
    </div>
    <#if appbox != "none">
        <div id="app-box" identity="${appbox}"></div>
    </#if>
    <#if useheader != "none">
        <@header title=title prev=prev home=home/>
    </#if>
    <#nested/>
    <#if usefooter != "none">
        <#include "footer.ftl"/>
    </#if>
</body>
    <@jselement file='/up/dj-mobile/js/auto-height.js'/>
</html>
</#macro>